Astronomy has a type of consecutive days of Confucianism (JD), which begins with the GMT noon of January 1, 4713 BC on 0th. There is also a simplified Confucianism Day (MJD): MJD = JD-2400000.5 MJD's 0th day started from GMT on November 17, 1858 AD.
This article mainly introduces the conversion of the date of PHP to JDE of the Julian calendar format method, has a certain reference value, now share to everyone, the need for friends can refer to
JDE's Julian calendar format rules are as follows:
PHP 5Calendar function
About PHP CalendarThe calendar extension contains functions that simplify conversions between different calendar formats.It is based on Julian Day count (Julian days count), which was calculated starting from January 1, 4
Header (' content-type:text/html;charset=utf-8; ');#总结php操作时间的函数#1. Cal_days_in_month (calendar,month,year): function returns the number of days in one months for a specified year and calendar#calendar: The calendar to be used, month: Specified
PHP 5 Calendar function
function
Description
Cal_days_in_month ()
Returns the number of days in the one month for the specified year and calendar.
CAL_FROM_JD ()
Converts the Julian day count
In the daily development, most novice is very puzzled, so many PHP built-in function how to remember, in fact, you just know that there is this thing is OK, use more time you naturally remember, the following collection of PHP development when the
Datedate represents a specific moment, accurate to milliseconds. Before JDK1.1, date has two other functions. It allows you to interpret dates as year, month, day, hour, minute, and second values. It also allows formatting and parsing of date
Atitit. Get Beijing Time CST function API Summary O71. Get CST time ( Beijing time ) two cloth:1. Crawl URL Timtstamp >>format to the CST 12. Set the native time setsystime(date); : Called command line, only supported for Windows and Linux Systems
Java processing Date Time common methods:
1. Java.util.Calendar
The Calendar class is an abstract class that provides methods for a specific moment to transform between a set of calendar fields such as year, MONTH, Day_of_month, HOUR, and for
Reprinted Please note: http://www.cnblogs.com/naiking/archive/2011/03/24/1994100.html #
Translation: http://verysimple.com/2008/09/09/working-with-dates-in-flex-air-and-sqlite/
I admit that I am poor at English
Paul Roberts from the air team wrote
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.